//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月16日   下午7:26:11
 */
package edu.chinasoft.control;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.HttpRequestHandler;

public class UserControl implements HttpRequestHandler{
	private Logger logger = LoggerFactory.getLogger(UserControl.class);
	@Override
	public void handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		logger.info("UserControl>>>handleRequest start ……");
		//获取请求的用户名和密码
		String userName = request.getParameter("user_name");
		String userPassword = request.getParameter("user_password");
		logger.info("用户名："+userName+"。");
		logger.info("密码："+userPassword+"。");
		logger.info("UserControl>>>handleRequest end ……");
		
	}
	

}
